package com.dcy.znoa.domain.publiz;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;
//pengyu 职位表
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("duty")
public class Duty {

    @TableId(type = IdType.AUTO, value = "duty_id")
    Long dutyId;

    @TableField("duty_name")
    String dutyName;

    @TableField("comp_id")
    String compId;

    @TableField("create_oper_id")
    Long createOperId;

    @TableField("create_time")
    Date createTime;

    @TableField("update_oper_id")
    Long updateOperId;

    @TableField("update_time")
    Date updateTime;

    @TableField("valid_flag")
    Integer validFlag;

    @TableField(exist = false)
    Company company;
}
